﻿<!DOCTYPE html>
<html>
<head>
<title>清单统计</title>
<meta charset="utf-8">
<meta name="keywords" content="短照中心-湘潭市康复养老中心;">
<meta name="description" content="短照中心-湘潭市康复养老中心;">
<link rel="stylesheet" rev="stylesheet" href="css/framepage_print.css" type="text/css" media="screen,print" />
<link rel="stylesheet" type="text/css" href="js/waitBox/wait.css">
<script src="js/vue.js"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/JSON-js-master/json2.js"></script>
<script src="js/waitBox/wait.js"></script>
<script src="js/purl.js"></script>
<style type="text/css">
@media print {
.no_print {
	display: none;
}
@page {
margin: 0 10mm 0;
size:auto;
}
.form_div_kk {
	width: auto;
	height: auto;
	font-size: 9pt;
	color: #000000;
}
.form_div_kk h3 {
	width: auto;
	height: 4mm;
	line-height: 4mm;
	text-align: center;
	font-size: 12pt;
	color: #000000;
}
.form_div_kk ul {
	width: 190mm;
	margin-top: 0;
}
.form_div_kk ul li {
	width: auto;
	height: 4mm;
	line-height: 4mm;
	position: relative;
	float: left;
	display: block;
	margin-right: 3mm;
}
.form_div_kk ul li span {
	display: inline;
	line-height: 7mm;
}
.form_div_kk ul li .tit {
	display: block;
	line-height: 7mm;
}
table.rbb {
	margin-left: auto;
	margin-right: auto;
	width: 180mm;
	font-family: verdana, arial, sans-serif;
	font-size: 16px;
	color: #000000;
	border: 0;
	border-collapse: collapse;
}
table.rbb td {
	line-height: 6mm;
	height: 6mm;
	border: 0;
	border-collapse: collapse;
	padding: 0;
	text-align: left;
	font-size: 8pt;
}
table.rbb th {
	line-height: 6mm;
	height: 6mm;
	border: 0;
	border-collapse: collapse;
	padding: 0;
	background: #dddddd;
	font-weight: bold;
	text-align: left;
	font-size: 8pt;
}
table.mid {
	margin-left: auto;
	margin-right: auto;
	width: 180mm;
	font-family: verdana, arial, sans-serif;
	font-size: 16px;
	color: #000000;
	border: solid 1px #000000;
	border-collapse: collapse;
}
table.mid td {
	line-height: 4mm;
	height: 4mm;
	border: 1px solid #000000;
	border-collapse: collapse;
	padding: 0;
	text-align: center;
	font-size: 8pt;
}
table.mid th {
	line-height: 4mm;
	height: 4mm;
	border: 1px solid #000000;
	border-collapse: collapse;
	padding: 0;
	background: #dddddd;
	font-weight: bold;
	text-align: center;
	font-size: 8pt;
}
.tdw200 {
	width: 45mm;
}
.tdw160 {
	width: 36mm;
}
}
 @media screen {
.form_div_kk {
	width: auto;
	height: auto;
	font-size: 14px;
	color: 494C57;
}
.form_div_kk h3 {
	width: auto;
	height: 25px;
	line-height: 25px;
	text-align: center;
	font-size: 12px;
	color: #333333;
}
.form_div_kk ul {
	width: 1000px;
	margin-top: 0;
}
.form_div_kk ul li {
	width: auto;
	height: 30px;
	line-height: 30px;
	position: relative;
	float: left;
	display: block;
	margin-right: 20px;
}
.form_div_kk ul li span {
	display: inline;
}
.form_div_kk ul li .tit {
	display: block;
	line-height: 40px;
}
table.rbb {
	margin-left: auto;
	margin-right: auto;
	width: 800px;
	font-family: verdana, arial, sans-serif;
	font-size: 12px;
	color: #000000;
	border: 0;
	border-collapse: collapse;
}
table.rbb td {
	line-height: 30px;
	height: 30px;
	border: 0;
	border-collapse: collapse;
	padding: 0;
	text-align: left;
	font-size: 12px;
}
table.rbb th {
	line-height: 30px;
	height: 30px;
	border: 0;
	border-collapse: collapse;
	padding: 0;
	background: #dddddd;
	font-weight: bold;
	text-align: left;
	font-size: 14px;
}
table.mid {
	margin-left: auto;
	margin-right: auto;
	width: 800px;
	font-family: verdana, arial, sans-serif;
	font-size: 12px;
	color: #000000;
	border: 0;
	border-collapse: collapse;
}
table.mid td {
	line-height: 30px;
	height: 30px;
	border: 1px solid #000000;
	border-collapse: collapse;
	padding: 0;
	text-align: left;
	font-size: 12px;
}
table.mid th {
	line-height: 30px;
	height: 30px;
	border: 1px solid #000000;
	border-collapse: collapse;
	padding: 0;
	background: #dddddd;
	font-weight: bold;
	text-align: center;
	font-size: 12px;
}
.tdw200 {
	width: 200px;
}
.tdw160 {
	width: 160px;
}
}
</style>
</head>

<body style="background:rbg(216,216,216);">
<div class="form_div_kk">
  <div style="margin:0;padding:0;" id="vue_vm_list_inventory">
    <h3>住院结算明细单</h3>
    <h3>湘潭市养老康复中心</h3>
    <div style="margin:0;padding:0;" v-for="todo in todos">
      <table class="rbb">
        <tr>
          <td class="tdw160">床位号：{{todo.elderBeHospitalForm.bedNumber}}</td>
          <td class="tdw160">姓名：{{todo.elderBeHospitalForm.elderForm.name}}</td>
          <td class="tdw160">住院号：{{todo.elderBeHospitalForm.beNumber}}</td>
          <td class="tdw160">{{getTitle()}}</td>
          <td class="tdw160">科室：{{todo.elderBeHospitalForm.subjectRoomName}}</td>
        </tr>
      </table>
      <table class="mid">
        <tr>
          <th class="tdw200">项目名称/规格/单位 </th>
          <th class="tdw200">单价</th>
          <th class="tdw200">数量</th>
          <th class="tdw200">金额</th>
        </tr>
        <tr v-for="item in getPayRecordSummAndGroup()">
          <td class="tdw200">{{item.costDesc}}</td>
          <td class="tdw200">{{item.payMoney}}</td>
          <td class="tdw200">{{item.count}}</td>
          <td class="tdw200">{{(item.payMoney*item.count).toFixed(2)}}元</td>
        </tr>
      </table>
      <table class="rbb">
        <tr>
          <td class="tdw200">记账：{{getElderPayRecordCount(todo.elderPayRecordForms)}}笔</td>
          <td class="tdw200">记账合计：{{getElderPayRecordTotalMoney(todo.elderPayRecordForms).toFixed(2)}}元</td>
          <td class="tdw200">操作员：{{todo.elderBeHospitalForm.subjectRoomManager}}</td>
          <td class="tdw200">打印日期：{{getNowDate()}}</td>
        </tr>
      </table>
      <table class="rbb">
        <tr>
          <td class="tdw160">押金 {{todo.pledge}}元</td>
          <td class="tdw160">预缴合计 {{todo.prePay}}元</td>
          <td class="tdw160">总费用 {{todo.totalFee}}元</td>
          <td class="tdw160">钱包余额：{{todo.elderWalletForm.walletBalance}}元</td>
          <td class="tdw160">保床退费：{{todo.returnMoney?todo.returnMoney:0}}元</td>
          <!--<td class="tdw160"> 欠费合计：{{getElderArrearageTotalMoney(todo.elderArrearageForms)}}元</td>-->
        </tr>
      </table>
      <!--
      <div style="margin:0;padding:0;">
        <ul>
          <li><span></span></li>
          <li><span>姓名：{{todo.elderBeHospitalForm.elderForm.name}}</span></li>
          <li><span>住院号：{{todo.elderBeHospitalForm.beNumber}}</span></li>
          <li><span>打印日期：{{getNowDate()}}</span></li>
          <li><span>科室：{{todo.elderBeHospitalForm.subjectRoomName}}</span></li>
        </ul>
      </div>
      -->
    </div>
  </div>
</div>
<div class="form_div">
  <div class="for_ie_div no_print"><!--为兼容IE-->
    <ul>
      <li>
        <input type="button" value="打印" class="button button1" onclick="window.print();" style="height:38px;"/>
      </li>
    </ul>
  </div>
</div>
<div style="clear:both;"></div>
<script src="js/common.js"></script>
<script src="js/common_function.js"></script>
<script src="js/common_date.js"></script>
<script src="js/busi/paylist-total.js"></script>
</body>
</html>
